#ifndef _GAMELAYER_H_
#define _GAMELAYER_H_

#include "cocos2d.h"
#include "extensions\cocos-ext.h"

USING_NS_CC;
USING_NS_CC_EXT;

class GameLayer : public Layer
{
public:
	CREATE_FUNC(GameLayer);
	GameLayer();
	~GameLayer();

public:
	bool init() override;
    void touchDown(Ref* pSender, Control::EventType event);
    bool initUIControl(const Size& visibleSize, const Vec2& origin);
	
private:
    Size _visibleSize;
    Vec2 _origin;
};

#endif // !_GAMELAYER_H_
